import request from '@/utils/request'

// api地址
const api = {
  list: 'goods/list',
  lists: 'goods.service/list'
}

// 商品评价列表
export function list (goodsId) {
  return request.get(api.list, goodsId)
}
// 商品服务列表
export function lists (goodsId) {
  return request.get(api.lists, { goodsId })
}
